package com.neo.push.server.message;

import com.neo.push.core.AcceptPush;
import com.neo.push.server.connection.SafetyMessageTimer;

import java.util.List;

/**
 * Created by lock on 17-7-31.
 */
public interface PushMessageMonitor extends MessageMonitor<AcceptPush>,SafetyMessageTimer {

    /**
     * 把用户的离线消息全部获取进来,重新发送给用户,如果有多个消息，应该打包发送
     * @param receiver
     * @return
     * @throws Exception
     */
    List<AcceptPush> loadOfflineMessage(String receiver) throws Exception;


}
